Don't leak a reference to the pixbufs.
authorMatthias Clasen <maclas@gmx.de>
Mon, 9 Aug 2004 03:55:00 +0000 (03:55 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 9 Aug 2004 03:55:00 +0000 (03:55 +0000)
Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
leak a reference to the pixbufs.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c

index c7453468f91082caf975fa7367761b83125e71ff..707d708728bb644c9524592e94d8bf5857799236 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
+       leak a reference to the pixbufs.
+
 Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
index c7453468f91082caf975fa7367761b83125e71ff..707d708728bb644c9524592e94d8bf5857799236 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
+       leak a reference to the pixbufs.
+
 Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
index c7453468f91082caf975fa7367761b83125e71ff..707d708728bb644c9524592e94d8bf5857799236 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
+       leak a reference to the pixbufs.
+
 Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
index c7453468f91082caf975fa7367761b83125e71ff..707d708728bb644c9524592e94d8bf5857799236 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
+       leak a reference to the pixbufs.
+
 Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
index f17362f3f9a5da8b1c908c59ef4960fe4346aeb0..7a9f20f9695629bf58e789a11965158c1e76c246 100644 (file)
@@ -926,7 +926,8 @@ shortcuts_reload_icons (GtkFileChooserDefault *impl)
     gtk_list_store_set (impl->shortcuts_model, &iter,
                        SHORTCUTS_COL_PIXBUF, pixbuf,
                        -1);
-
+    g_object_unref (pixbuf);
+    
   next_iter:
     i++;
   } while (gtk_tree_model_iter_next (GTK_TREE_MODEL (impl->shortcuts_model),&iter));